{extend name="base" /}
{block name="menu"}
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            {foreach name="menu" item="vo"}
            {if condition="isset($vo['children'])"}
            <li>
                <a href="javascript:;">
                    <i class="{$vo.icon}"></i>
                    <cite>{$vo.title}</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>

                <ul class="sub-menu">
                    {foreach name="vo['children']" item="v"}
                    <li>
                        <a _href="{:url($v.name)}">
                            <i class="{$v.icon}"></i>
                            <cite>{$v.title}</cite>
                        </a>
                    </li>
                    {/foreach}
                </ul>
            </li>
            {/if}
            {/foreach}
        </ul>
    </div>
</div>
{/block}

{block name="body"}
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src="{:url('index/welcome')}" frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
        </div>
    </div>
</div>
<div class="page-content-bg"></div>
{/block}

